package com.bonc.insight.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author bonc
 * @since 2022-01-14
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@Accessors(chain = true)
public class TTempToken implements Serializable{

    private static final long serialVersionUID=1L;

    /** 临时令牌 */
    @TableId(value = "temp_token" ,type = IdType.ASSIGN_UUID)
    private String tempToken;

    /** 客户端的id */
    @TableField(value = "client_id")
    private String clientId;

    /** redirectURI的ip */
    @TableField(value = "re_uri_ip")
    private String reUriIp;

    /** 目标地址 */
    @TableField(value = "return_uri")
    private String returnUri;

}
